$(function() {

	google.load("maps", "3", {
		"other_params" : "sensor=false",
		"callback" : loadMap
	});
})

function loadMap() {

	var wbg = new google.maps.Marker({
		position : new google.maps.LatLng(41.96310250, -70.66965859999999),
		title : "Waterfront Bar & Grill",
		animation: google.maps.Animation.DROP
			
	});

	var infoContent = '<div id="infoContent"><h1>Waterfront Bar &amp; Grill</h1></div>';
	infoContent = "Waterfront Bar &amp; Grill";
//	var wbgInfo = new google.maps.InfoWindow({
//		content: infoContent,
//		maxWidth: 75
//	});
	
	var myOptions = {
		zoom : 12,
		center : wbg.position,
		mapTypeId : google.maps.MapTypeId.ROADMAP
	};
	var map = new google.maps.Map(document.getElementById("map_canvas"),
			myOptions);
	wbg.setMap(map);
	
	
//	google.maps.event.addListener(wbg, 'click', function() {
//		wbgInfo.open(map, wbg);
//	});
}
